#include "defines.h"
#include "teacher_course_view.h"
#include "ui_teacher_course_view.h"
#include <iostream>

teacher_course_view::teacher_course_view(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::teacher_course_view)
{
    ui->setupUi(this);
    ui->addNewCourseButton->setDisabled(true);
    ui->moveDownButton->setDisabled(true);
    ui->moveUpButton->setDisabled(true);
    ui->moveDownButton2->setDisabled(true);
    ui->moveUpButton2->setDisabled(true);
}

teacher_course_view::~teacher_course_view()
{
    delete ui;
}

void teacher_course_view::on_viewCourseButton_clicked()
{
    emit(changeScene(TEACHER_TESTEDIT_VIEW));
}

void teacher_course_view::on_viewStudentListButton_clicked()
{
    emit(changeScene(TEACHER_STUDENT_VIEW));
}
